package all_in_one;

public class Delta extends Thread {
	private CigarettePlace m_place;
	private int index;
	
	public Delta(CigarettePlace place, int ind) { m_place = place; index = ind; }
	
	public void run() {
		while(true)
		{
			m_place.GetSemaphoreArray().get(index).acquireUninterruptibly();
		}
	}
}
